$strTrim = Alltrim (<String>)
Removes all the
leading and trailing white-space characters from the specified string.
Parameters
<String> The
string for which the leading and trailing white spaces, tabs, carriage return and line feeds are to be removed.
Return Value
The string with
the leading and trailing white spaces removed.
Remarks
- This has the
same effect as Ltrim(Rtrim(<String>))
Example
$Str = " Hello, World "
$NewStr = Alltrim($Str)
- $NewStr now
contains "Hello, World".